{% extends 'base/base.html' %}

{% block link %}
  <link rel="stylesheet" href="{% static '/css/doc/docDownload.css' %}">
{% endblock %}

{% block title %}
下载页
{% endblock %}

<!-- main-contain start  -->
{% block main_contain %}
  <div class="main-contain ">
    <div class="banner">
      <img src="/media/banner.jpg" alt="">
    </div>
    <div class="pay-doc-contain">
      <ul class="pay-list">

        {% for doc in docs %}
          <li class="pay-item">
            <img src="{{ doc.image_url }}" class="pay-img doc"/>
              <div class="d-contain">
                <p class="doc-title">{{ doc.title }}</p>
                <p class="doc-desc">{{ doc.desc }}</p>
                <a href="{% url 'doc:doc_download' doc.id %}" class="pay-price">下载</a>
              </div>
          </li>
        {% endfor %}

      </ul>
    </div>
  </div>
{% endblock %}
<!-- main-contain  end -->

{% block script %}

{% endblock %}
